from django.conf.urls import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
from jobs.views import astro,astro_id
from django.conf.urls.defaults import *
from jobs.views import current_datetime,hours_ahead

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'djproject.views.home', name='home'),
    # url(r'^djproject/', include('djproject.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    
    url(r'^jobs/','jobs.views.index'),
    url(r'^astro/$', astro),
    url(r'^astro/plus/(\d{1,2})/$', astro_id),
    url(r'^get_host_json/$', 'jobs.views.get_host_json'),
    url(r'^some_view/$', 'jobs.views.some_view'),
    url(r'^jobs_list/$', 'jobs.views.jobs_list'),
    url('^time/$', current_datetime),
    url(r'^time/plus/(\d{1,2})/$', hours_ahead),
    #url(r'^jobs',include(jobs.urls)), 
)
